package com.hjyang.solr.entity;

import org.apache.solr.client.solrj.beans.Field;

import java.util.Date;

/**
 * @author hjyang11
 * @date 2019/10/10
 */
public class SolrFile {
    @Field
    private String id;
    @Field
    private Long size;
    @Field
    private String filePath;
    @Field
    private String text;
    @Field
    private Long _version_;
    @Field
    private Date lastModified;
    
    public String getId() {
        return id;
    }
    
    public void setId(String id) {
        this.id = id;
    }
    
    public Long getSize() {
        return size;
    }
    
    public void setSize(Long size) {
        this.size = size;
    }
    
    public String getFilePath() {
        return filePath;
    }
    
    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }
    
    public String getText() {
        return text;
    }
    
    public void setText(String text) {
        this.text = text;
    }
    
    public Long get_version_() {
        return _version_;
    }
    
    public void set_version_(Long _version_) {
        this._version_ = _version_;
    }
    
    public Date getLastModified() {
        return lastModified;
    }
    
    public void setLastModified(Date lastModified) {
        this.lastModified = lastModified;
    }
}
